export const loginRules = {
  userName: [{ required: true, message: '用户名不能为空', trigger: 'blur' }],
  password: [{ required: true, message: '密码不能为空', trigger: 'blur' }],
  code: [
    { required: true, message: '验证码不能为空', trigger: 'blur' },
    {
      min: 4,
      max: 4,
      message: '请输入4位字母或小数',
      trigger: 'blur'
    }
  ]
}
